package com.fa.dv.mapper;

import com.fa.dv.domain.Subject;
import com.fa.dv.domain.dto.SubjectDTO;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;


public interface SubjectMapper {

    List<Subject> selectList(SubjectDTO subjectDTO);

    void insert(Subject subject);

    void update(Subject subject);

    Subject selectById(int subjectId);

    void delete(Integer subjectId);

    void deleteList(List<Integer> subjectIds);

    void insertBatch(ArrayList<Subject> cacheList);

    Integer findLoginCountByDay(String day);
}
